<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>1.解构赋值</title>
	</head>
	<body>
		<script type="text/javascript" >
			let obj = {
				a:1,
				b:2
			}

			let {a} = obj
			a = 100
			console.log(a)
			console.log(obj.a)
		</script>
	</body>
</html>